// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import store from './store/index.js';

Vue.use(ElementUI);

import axios from 'axios'
Vue.prototype.$http = axios;

//挂在url
import {
	api, util
} from './assets/js/common';


Vue.prototype.url = api.url
Vue.prototype.fastdfsurl = api.fastdfsurl

Vue.prototype.util = util
console.log(Vue.prototype)




/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
